<!DOCTYPE html>
<!-- saved from url=(0122)http://www.17sucai.com/preview/396215/2017-06-15/%E5%AE%9E%E7%94%A8%E7%9A%84%E5%85%85%E5%80%BC%E9%A1%B5%E9%9D%A2/demo.html -->
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		
		<meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no, width=device-width">
		<link rel="stylesheet" href="/js/plugins/recharge/new_file.css">
		<script type="text/javascript" src="/js/plugins/jquery/jquery.min.js"></script>
		<script type="text/javascript" src="/js/plugins/form/jquery.form.js"></script>
		<script type="text/javascript" src="/js/plugins/recharge/new_file.js"></script>
		<link rel="stylesheet" href="/js/plugins/recharge/layer.css">
		<script type="text/javascript" src="/js/plugins/recharge/layer.js"></script>
        <link href="/js/plugins/recharge/layer(1).css" type="text/css" rel="styleSheet" id="layermcss">
		<title>骡窝窝充值</title>
    
    <script>
        $(function () {
            var user = JSON.parse(sessionStorage.getItem("user"));
            var money;
            $('#a li').click(function(){
               money = $(this).val();
               $("#money").html(money);
                var balance = money + user.balance;
                $("#inputForm input[name='balance']").val(balance);
                $("#inputForm input[name='id']").val(user.id);
            });
            $("#inputForm").ajaxForm(function (data) {
                if(data.success){
                    window.location.href="/mine/wallet.html";
                }
            });
            $('#weixin').click(function () {
                $("#inputForm").submit();
            });
            $('#zhifubao').click(function () {
                $("#inputForm").submit();
            });
        })
    </script>
	</head>
	<body>
    <form action="/users/save" method="post" id="inputForm">
        <input type="hidden" name="balance">
        <input type="hidden" name="id">
    </form>
		<!--头部  star-->
		<header>
			<a href="javascript:history.go(-1);">
				<div class="_left"><img src="/js/plugins/recharge/Arrow_left_icon.png"></div>
				充值
			</a>
		</header>
		<!--头部 end-->
		<div class="banner">
			<img src="/js/plugins/recharge/banner.png" width="100%" height="100%">
		</div>
		<!--充值列表-->
		<div class="person_wallet_recharge">
			<ul class="ul" id="a">
                <li class="" value="200">
                    <h2>￥200</h2>
                    <div class="sel" style="display: none;"></div>
                </li>
                <li class="" value="500">
                    <h2>￥500</h2>
                    <div class="sel" style="display: none;"></div>
                </li>
                <li class="" value="800">
                    <h2>￥800</h2>
                    <div class="sel" style="display: none;"></div>
                </li>
                <li class="" value="1000">
                    <h2>￥1000</h2>
                    <div class="sel" style="display: none;"></div>
                </li>
                <li class="" value="1200">
                    <h2>￥1200</h2>
                    <div class="sel" style="display: none;"></div>
                </li>
                <li class="" value="1500">
                    <h2>￥1500</h2>
                    <div class="sel" style="display: none;"></div>
                </li>
                <li class="" value="1800">
                   <h2>￥1800</h2>
                    <div class="sel" style="display: block;"></div>
                </li>
                <li class="" value="2000">
                   <h2>￥2000</h2>
                    <div class="sel" style="display: none;"></div>
                </li>
                <li class="" value="5000">
					<h2>￥5000</h2>
                    <div class="sel" style="display: none;"></div>
                </li>
                <div style="clear: both;"></div>
            </ul>
            <div class="botton" id="inputBtn">我要充值</div>
            <!--遮罩层-->
            <div class="f-overlay" style="display: none;"></div>
            <div class="addvideo" style="display: none;">
            	<h3>本次充值<span id="money"></span>元</h3>
	            <ul>
	            	<li id="weixin"><a>微信支付</a></li>
	            	<li id="zhifubao"><a>支付宝支付</a></li>
	            	<li class="cal">取消</li>
	            </ul> 
            </div>
		</div>
	

</body></html>